package com.company;

import java.util.Scanner;

/**
 * @author jrue
 * @version 1.0
 * @date 2020/3/17 19:57
 */
public class Main05 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        if (n == 0 ) {
            System.out.println(0);
            return;
        }
        System.out.println(3);
    }

}
